Embedded in the GCC Compiler
نویسنده
چکیده
The GCC free compiler is a very large software, compiling source in several languages for many targets on various systems. It can be extended by plugins, which may take advantage of its power to provide extra specific functionality (warnings, optimizations, source refactoring or navigation) by processing various GCC internal representations (Gimple, Tree, ...). Writing plugins in C is a complex and time-consuming task, but customizing GCC by using an existing scripting language inside is impractical. We describe MELT, a specific Lisp-like DSL which fits well into existing GCC technology and offers high-level features (functional, object or reflexive programming, pattern matching). MELT is translated to C fitted for GCC internals and provides various features to facilitate this. This work shows that even huge, legacy, software can be a posteriori extended by specifically tailored and translated high-level DSLs.
منابع مشابه
Retargeting GCC Compiler for Specific Embedded System on Chips
This paper describes the High-performance C Compiler (HCC) and its specific implementation for industrial application-specific embedded System on Chips (SoCs). HCC compiler is a language C compiler based on the retargetable GCC compiler. Because of the specialized architectures and features of specific embedded SoCs, machine-dependent compiler implementation is an important and challenging work...
متن کاملA Microsoft .NET Front-End for GCC
In the past, embedded systems developers have been severely constrained in their choice of programming languages. Recent advancements in processing power and memory availability allow for new techniques. We present an extension to the GNU Compiler Collection (GCC) that offers the expressiveness of all Microsoft .NET languages to embedded systems.
متن کاملElectrochemical Characterizations of Epoxy Coatings Embedded by Modified Calcium Carbonate Particles
In this paper, electrochemical behavior of epoxy paints embedded by modified calcium carbonate particles was investigated during exposure to 3.5 wt% NaCl solution. The precipitated calcium carbonate (PCC) and ground calcium carbonate (GCC) particles were utilized as inexpensive filler for epoxy paints. Electrochemical impedance spectroscopy (EIS), polarization tests and pin-on-disk method w...
متن کاملMELT - a Translated Domain Specific Language Embedded in the GCC Compiler
The GCC free compiler is a very large software, compiling source in several languages for many targets on various systems. It can be extended by plugins, which may take advantage of its power to provide extra specific functionality (warnings, optimizations, source refactoring or navigation) by processing various GCC internal representations (Gimple, Tree, ...). Writing plugins in C is a complex...
متن کاملAn Experimental Environment Validating the Suitability of CLI as an Effective Deployment Format for Embedded Systems
Software development productivity for embedded systems is greatly limited by the high fragmentation of platforms and their associated development tools. Platform virtualization environments, like Java and Microsoft .NET, help to alleviate the problem, but because of their advanced run-time features and libraries, they are limited to host functionalities running on the system microcontroller and...
متن کامل